package me.zhangsanfeng.base.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import me.zhangsanfeng.frame.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableId;
import java.sql.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 客户信息
 * </p>
 *
 * @author ZhangYao
 * @since 2018-10-19
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@ApiModel(value="Customer对象", description="客户信息")
public class Customer extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "唯一标识")
    @TableId(value = "id", type = IdType.UUID)
    private String id;

    @ApiModelProperty(value = "编号")
    private Integer code;

    @ApiModelProperty(value = "姓名")
    private String name;

    @ApiModelProperty(value = "级别")
    private Integer level;

    @ApiModelProperty(value = "行业")
    private String industry;

    @ApiModelProperty(value = "手机")
    private String phone;

    @ApiModelProperty(value = "职务")
    private String duty;

    @ApiModelProperty(value = "发票抬头")
    private String taxName;

    @ApiModelProperty(value = "纳税人识别号")
    private String taxNumber;

    @ApiModelProperty(value = "发票地址")
    private String address;

    @ApiModelProperty(value = "发票座机")
    private String telephone;

    @ApiModelProperty(value = "开户行")
    private String bank;

    @ApiModelProperty(value = "对公账户")
    private String account;

    @ApiModelProperty(value = "法人")
    private String legalPerson;

    @ApiModelProperty(value = "上次订货时间")
    private Date lastOrderDate;


}
